]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Remove skip-taskbar windows while the overview is shown
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Fri, 23 Jul 2021 09:33:43 +0000 (17:33 +0800)
committerMarge Bot <marge-bot@gnome.org>
Wed, 11 Aug 2021 15:15:03 +0000 (15:15 +0000)
commitcc2af75fb42d1b920d77a2bd577afffe2e015ad0
treee783b9a39cef4a0c9c559ecb5fb6e7592e79dd0e
parenta8f1722a9f6b8f43737da74eee5d71eedecc71de
workspace: Remove skip-taskbar windows while the overview is shown

On startup desktop-icons-ng Wayland windows have skip-taskbar==FALSE so
initially pass `_isOverviewWindow` and they get added to the overview,
which is confusing to users. However almost immediately after that they
get `meta_wayland_client_hide_from_window_list` and are removed from
future overviews. So now we respond to `notify::skip-taskbar` immediately
and prevent desktop-icons-ng appearing in the startup overview too.

This is messy and ideally we'd like to know the window type immediately
on creation, but that option only exists in X11 and not Wayland.

https://gitlab.com/rastersoft/desktop-icons-ng/-/issues/137
https://bugs.launchpad.net/bugs/1936643

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1925>
js/ui/workspace.js